package org.fund.common.constant;


/**
 * @Author:
 * @Date: 2022/3/15 16:22
 * @Description:
 */
public enum OperatorCurrentStatus {
    PURCHASE_TO_CONFIRMED((byte)0,"买入待确认"),
    PURCHASE_CONFIRMED((byte)1,"买入以确认"),
    SALE_TO_CONFIRMED((byte)2,"卖出待确认"),
    SALE_CONFIRMED((byte)3,"卖出以确认"),
    REVOKE((byte)4,"撤销");

    private byte code;
    private String description;

    OperatorCurrentStatus(byte code, String description) {
        this.code = code;
        this.description = description;
    }


    public byte getCode() {
        return code;
    }

    public void setCode(byte code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
